<template>
  <div class="my">
    <div class="top">
      <div class="left">
        <span>余额</span>
        <span>0</span>
        <router-link to="/">
          <button>充值</button>
        </router-link>
      </div>
      <div class="center">
        <router-link to="/"
          ><img src="http://cos.lalawaimai.com/we7_wmall/wxapp/head.png" alt=""
        /></router-link>
        <span>圈圈</span>
      </div>
      <div class="right">
        <span>积分</span>
        <span>0</span>
        <router-link to="/">
          <button>兑换</button>
        </router-link>
      </div>
      <span class="iconfont">&#xe68f;</span>
    </div>
    <div class="tubiao">
      <ul>
        <li>
          <router-link to="/home/my">
            <span class="iconfont">&#xe601;</span>
            <p>我的地址</p></router-link
          >
        </li>
        <li>
          <router-link to="/home/my">
            <span class="iconfont">&#xe767;</span>
            <p>我的足迹</p></router-link
          >
        </li>
        <li>
          <router-link to="/home/my">
            <span class="iconfont">&#xe647;</span>
            <p>我的评价</p></router-link
          >
        </li>
        <li>
          <router-link to="/home/my">
            <span class="iconfont">&#xe667;</span>
            <p>我的收藏</p></router-link
          >
        </li>
      </ul>
    </div>
    <div class="tubiao">
      <h3>我的服务</h3>
      <ul>
        <li>
          <router-link to="/home/my">
            <span class="iconfont">&#xe698;</span>
            <p>客服中心</p></router-link
          >
        </li>
        <li>
          <router-link to="/home/my">
            <span class="iconfont">&#xe8c8;</span>
            <p>领券中心</p></router-link
          >
        </li>
        <li>
          <router-link to="/home/my">
            <span class="iconfont">&#xe624;</span>
            <p>优质商家</p></router-link
          >
        </li>
        <li>
          <router-link to="/home/my">
            <span class="iconfont">&#xe603;</span>
            <p>投诉与帮助</p></router-link
          >
        </li>
        <li>
          <router-link to="/home/my">
            <span class="iconfont">&#xe624;</span>
            <p>天天特价</p></router-link
          >
        </li>
      </ul>
    </div>
    <div class="tubiao">
      <h3>个人资产</h3>
      <ul>
        <li>
          <router-link to="/home/my">
            <span class="iconfont">&#xe656;</span>
            <p>我的红包</p></router-link
          >
        </li>
        <li>
          <router-link to="/home/my">
            <span class="iconfont">&#xe697;</span>
            <p>优惠券</p></router-link
          >
        </li>
        <li>
          <router-link to="/home/my">
            <span class="iconfont">&#xe654;</span>
            <p>余额充值</p></router-link
          >
        </li>
        <li>
          <router-link to="/home/my">
            <span class="iconfont">&#xe600;</span>
            <p>会员卡</p></router-link
          >
        </li>
      </ul>
    </div>
    <div class="tubiao">
      <h3>商家管理</h3>
      <ul>
        <li>
          <router-link to="/home/my">
            <span class="iconfont">&#xe624;</span>
            <p>商家入口</p></router-link
          >
        </li>
        <li>
          <router-link to="/home/my">
            <span class="iconfont">&#xe698;</span>
            <p>入驻达源</p></router-link
          >
        </li>
        <li>
          <router-link to="/home/my">
            <span class="iconfont">&#xe9ce;</span>
            <p>配送员入口</p></router-link
          >
        </li>
      </ul>
    </div>
  </div>
</template>
<script>
export default {
  name: "my",
};
</script>
<style lang="scss" scoped>
.my {
  background-color: rgb(236, 236, 236);
  padding-bottom: 60px;
  .top {
    position: relative;
    height: 125px;
    background-image: url("https://www.yhqwe.com/addons/we7_wmall/template/vue/static/img/bg-mypage.cfed06a.png");
    background-size: 100%;
    display: flex;
    > span {
      color: white;
      font-weight: bold;
      font-size: 20px;
      right: 10px;
      top: 10px;
      position: absolute;
    }
    div {
      width: 33.33333%;
      display: flex;
      flex-direction: column;
      text-align: center;
      margin-right: 10px;
      padding-top: 10px;
      span {
        font-size: 16px;
        color: white;
      }
      button {
        border: 1px solid white;
        border-radius: 10px;
        background-color: transparent;
        color: white;
      }
      img {
        width: 50px;
        height: 50px;
      }
    }
    .left,
    .right {
      margin-top: 20px;
    }
  }
  .tubiao {
    margin-top: 10px;
    background-color: rgb(255, 255, 255);
    h3 {
      margin: 0;
      font-size: 15px;
      padding: 20px;
      padding-bottom: 0;
    }
    ul {
      display: flex;
      flex-wrap: wrap;
      padding: 0;
      margin: 0;
      li {
        width: 23%;
        box-sizing: border-box;
        margin-left: 2%;
        padding-top: 10px;
        text-align: center;
        margin-bottom: 10px;
        a {
          display: block;
          span {
            font-size: 25px;
          }
          p {
            font-size: 14px;
            margin: 0;
          }
        }
      }
    }
  }
}
</style>